package com.sxpi.order.mode.user.member;

import com.sxpi.order.mode.user.IPayService;
import org.springframework.stereotype.Service;

/**
 * @Author: 董伟豪
 * @Date: 2022/10/29 22:27
 */
@Service
public class VipService implements IPayService {

    /**
     * vip用户金额折扣
     * @param money
     * @return
     */
    @Override
    public Double getMoney(Double money) {
        return money * 0.75;
    }
}
